import axios from "./index";

//const baseUrl = "http://172.17.2.249:8080"

export function parameterGetALl(page,limit,search) {
    return axios({
        method:"POST",
        url:`/parameterConfig/selectParamConfig/${page}/${limit}`,
        data: search
    });
}

export function parameterPost(option) {
    return axios({
        method:"POST",
        url:`/parameterConfig/update`,
        data:option
    });
}
export function parameterAdd(option){
    return axios({
        method:"POST",
        url:`/parameterConfig/addParam`,
        data:option
    });
}
export function parameterDel(id){
    return axios({
        method:"POST",
        url:`/parameterConfig/deleteParam/${id}`,
        data: {}
    });
}